package com.rf.richfitwheel.admin.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

@FeignClient(name = "ANNUITY-ADMIN-SERVER/websocket")
public interface FWebSocketServices {

    //推送数据接口
    @ResponseBody
    @RequestMapping("/socket/push")
    public void pushToWeb(@RequestParam Map<String, String> params);
}
